<template>
    <panel title="金融头条" class="panel">
        <section  class="content">
            <swiper :options="options">
                <swiper-slide>近1年历史年化投资回报率</swiper-slide>
                <swiper-slide>近7日年化收益</swiper-slide>
                <swiper-slide>工资理财工资理财工资理财工资理财工资理财工资理财</swiper-slide>
            </swiper>
        </section>
    </panel>
</template>

<script>
import Panel from "@/components/panel"
export default {
    name: 'Rslider',
    components: {
        Panel
    },
    data() {
        return {
            options: {
                autoplay: true,
                loop: true,
                direction: 'vertical'
            }
        }
    }
}
</script>

<style lang="scss" scoped>
    @import '~assets/scss/element.scss';
    .panel{
        @include panel;
        /deep/ .swiper-container-vertical{
            height: .72rem;
            /deep/ .swiper-slide{
                font-family: PingFangSC-Medium;
                font-size: .28rem;
                color: #333;
                padding-right: .2rem;
                box-sizing: border-box;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }
        }
        margin-top: 1rem;
        /deep/ h4.one{
            display: none;
        }
        .content{
            height: .72rem;
            line-height: .72rem;
            overflow: hidden;
            margin-left: .2rem;
            padding-left: 1.66rem;
            background: url(//m.jr.jd.com/spe/qyy/main/images/jr-logo.png) left center no-repeat;
            background-size: 1.46rem auto;
        }
    }
</style>

